<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function caseInSwitch(val) {
  let answer = val;
  // 只修改这一行下面的代码
switch(val){
  case 1:
  console.log ("alpha")
  break
  case 2:
  console.log ("beta")
  break
  case 3:
  console.log ( "alpha")
  break
  case 4:
  console.log ( "gamma")
  break
}
  // 只修改这一行上面的代码
  return answer;
}

caseInSwitch(1);
    </script>
</body>
</html>